#include <iostream>
#include <string>
using namespace std;
int main()
{
    const int js=100,fjs=80,jshi=60,zj=40;
    string name;
    string title;
    int hour;
    double wage;
    cout<<"please input name,title(js,fjs,jshi,zj),hour:"<<endl;
    //你的代码将被嵌在这里
    cin>>name>>title>>hour;
    if(title=="js")
    {
        wage=js*hour;
    }
    else if(title=="fjs")
    {
        wage=fjs*hour;
    }
    else if(title=="jshi")
    {
        wage=jshi*hour;
    }
    else if(title=="zj")
    {
        wage=zj*hour;
    }
    cout<<"the wage is :"<<wage<<endl;

    return 0;
}